package com.ruoyi.xp.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 虾皮订单明细仓库货物信息对象 t_xp_order_item_goods
 * 
 * @author chdx
 * @date 2023-01-22
 */
public class OrderItemGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表的id */
    private Long orderItemGoodsId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;

    /** 表的id */
    @Excel(name = "表的id")
    private Long warehouseId;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String goodsClass;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String goodsName;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String goodsSkuSubName;

    /** SKUID */
    @Excel(name = "SKUID")
    private Long modelId;

    /** 表的id */
    @Excel(name = "表的id")
    private Long goodsId;

    /** 表的id */
    @Excel(name = "表的id")
    private Long quantity;

    /** 采购单价 */
    @Excel(name = "采购单价")
    private BigDecimal purchasePrice;

    /** 采购总价 */
    @Excel(name = "采购总价")
    private BigDecimal purchaseTotalPrice;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String logoOssPath;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String logoUrl;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private Long lastUpdateBy;

    public void setOrderItemGoodsId(Long orderItemGoodsId) 
    {
        this.orderItemGoodsId = orderItemGoodsId;
    }

    public Long getOrderItemGoodsId() 
    {
        return orderItemGoodsId;
    }
    public void setOrderSn(String orderSn) 
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn() 
    {
        return orderSn;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setGoodsClass(String goodsClass) 
    {
        this.goodsClass = goodsClass;
    }

    public String getGoodsClass() 
    {
        return goodsClass;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsSkuSubName(String goodsSkuSubName) 
    {
        this.goodsSkuSubName = goodsSkuSubName;
    }

    public String getGoodsSkuSubName() 
    {
        return goodsSkuSubName;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setPurchasePrice(BigDecimal purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getPurchasePrice() 
    {
        return purchasePrice;
    }
    public void setPurchaseTotalPrice(BigDecimal purchaseTotalPrice) 
    {
        this.purchaseTotalPrice = purchaseTotalPrice;
    }

    public BigDecimal getPurchaseTotalPrice() 
    {
        return purchaseTotalPrice;
    }
    public void setLogoOssPath(String logoOssPath) 
    {
        this.logoOssPath = logoOssPath;
    }

    public String getLogoOssPath() 
    {
        return logoOssPath;
    }
    public void setLogoUrl(String logoUrl) 
    {
        this.logoUrl = logoUrl;
    }

    public String getLogoUrl() 
    {
        return logoUrl;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate) 
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate() 
    {
        return lastUpdateDate;
    }
    public void setLastUpdateBy(Long lastUpdateBy) 
    {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Long getLastUpdateBy() 
    {
        return lastUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderItemGoodsId", getOrderItemGoodsId())
            .append("orderSn", getOrderSn())
            .append("warehouseId", getWarehouseId())
            .append("goodsClass", getGoodsClass())
            .append("goodsName", getGoodsName())
            .append("goodsSkuSubName", getGoodsSkuSubName())
            .append("modelId", getModelId())
            .append("goodsId", getGoodsId())
            .append("quantity", getQuantity())
            .append("purchasePrice", getPurchasePrice())
            .append("purchaseTotalPrice", getPurchaseTotalPrice())
            .append("logoOssPath", getLogoOssPath())
            .append("logoUrl", getLogoUrl())
            .append("createDate", getCreateDate())
            .append("createBy", getCreateBy())
            .append("lastUpdateDate", getLastUpdateDate())
            .append("lastUpdateBy", getLastUpdateBy())
            .toString();
    }
}
